home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-04-03 | 1.7 KB | 63 lines | [TEXT/MPS ] |
- // UViewSkeleton.h
- // Copyright © 1991-96 by Apple Computer, Inc. All rights reserved.
-
- #ifndef __UVIEWSKELETON__
- #define __UVIEWSKELETON__
-
- #ifndef __UVIEW__
- #include "UView.h"
- #endif
-
- //----------------------------------------------------------------------------------------
- // Forward and external classes
- //----------------------------------------------------------------------------------------
-
- class TDocumentSkeleton;
- class TStream;
-
- //----------------------------------------------------------------------------------------
- // TViewSkeleton
- //----------------------------------------------------------------------------------------
-
- class TViewSkeleton: public TView
- {
- MA_DECLARE_CLASS;
-
- public:
- TDocumentSkeleton* fDocumentSkeleton;
-
- TViewSkeleton();
- // Constructor
-
- virtual ~TViewSkeleton();
- // Destructor
-
- virtual void IViewSkeleton(TDocumentSkeleton* itsDocument,
- TView* itsSuperView,
- const VPoint& itsLocation,
- const VPoint& itsSize);
-
- virtual void DoPostCreate(TDocument* itsDocument); // Override
-
- // Drawing
- virtual void Draw(const VRect& area); // Override
-
- // Commands
- virtual void DoSetupMenus(); // Override
-
- virtual void DoMenuCommand(CommandNumber aCommandNumber); // Override
-
- virtual void DoMouseCommand(VPoint& theMouse,
- TToolboxEvent* event,
- CPoint hysteresis); // Override
- };
-
- //----------------------------------------------------------------------------------------
- // Global initialization procedure
- //----------------------------------------------------------------------------------------
-
- extern void InitUViewSkeleton();
- // Call this routine at initialization time
-
- #endif
-